package com.example.adminframework.model.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

@ApiModel("JVM信息")
public class JVMMonitorInfo {

    @ApiModelProperty("java名称")
    private String name;

    @ApiModelProperty("启动时间")
    private Date startDate;

    @ApiModelProperty("安装路径")
    private String installUrl;

    @ApiModelProperty("项目内存")
    private String projectUrl;

    @ApiModelProperty("Java版本")
    private String javaVersion;

    @ApiModelProperty("运行时长")
    private String operationDate;

    @Override
    public String toString() {
        return "Jvm{" +
                "name='" + name + '\'' +
                ", startDate='" + startDate + '\'' +
                ", installUrl='" + installUrl + '\'' +
                ", projectUrl='" + projectUrl + '\'' +
                ", javaVersion='" + javaVersion + '\'' +
                ", operationDate='" + operationDate + '\'' +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public String getInstallUrl() {
        return installUrl;
    }

    public void setInstallUrl(String installUrl) {
        this.installUrl = installUrl;
    }

    public String getProjectUrl() {
        return projectUrl;
    }

    public void setProjectUrl(String projectUrl) {
        this.projectUrl = projectUrl;
    }

    public String getJavaVersion() {
        return javaVersion;
    }

    public void setJavaVersion(String javaVersion) {
        this.javaVersion = javaVersion;
    }

    public String getOperationDate() {
        return operationDate;
    }

    public void setOperationDate(String operationDate) {
        this.operationDate = operationDate;
    }
}
